# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Michal Krenek (Mikos) <m.krenek@gmail.com>

pkgname=qopenvpn
pkgver=2.0.0
pkgrel=7
pkgdesc="Simple OpenVPN GUI written in PyQt for systemd based distributions"
arch=('any')
url="https://github.com/xmikos/qopenvpn"
license=('GPL3')
depends=('python-pyqt5' 'openvpn' 'systemd')
makedepends=('python-setuptools')
source=("https://github.com/xmikos/qopenvpn/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('6a9a39236f73c040eca25ad53c7e4d1c32b68222a4bf00e85c61cb93c38caec55ed2e11f6ee9fb49ac19801059decb46b8b330e6f4f06553dab6576237add135')

build() {
  cd $pkgname-$pkgver
  python setup.py build
}

package() {
  cd $pkgname-$pkgver
  python setup.py install --root="$pkgdir"
}

# vim:set ts=2 sw=2 et:
